<?php
namespace app\api\model;
use think\Model;

class User extends Model
{
    protected $table = 'user';

    public function addUser($data)
    {
        $this->save($data);
    }
}
